package com.me.seckill.mapper;

import com.me.seckill.pojo.Stock;

/**
 * @author ME
 */
public interface StockMapper {

    int delStock(Stock stock);

    int addStock(Stock stock);

    Stock selectById(Integer id);

    int updateByPrimaryKeySelective(Stock record);

    int updateByOptimistic(Stock record) ;
}